package com.hyfrogx.modules.information.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author liubin
 * @date 2019/10/31 15:40
 */
@ApiModel(value = "后台资讯号启用表单")
@Data
public class EnableMediaForm {

  @ApiModelProperty(value = "启用状态1是0否")
  @NotBlank(message="启用状态不能为空")
  private Integer enableState;

  @NotBlank
  private Integer id;
}
